package com.matt.domain.courseV2;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 发展检核用户关联
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "tc_develop_user")
public class DevelopUser extends Domain implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column(columnDefinition = "varchar(32)   COMMENT '宝宝ID' ")
    private String childrenId;

    @Column(columnDefinition = "varchar(32)   COMMENT '园区ID' ")
    private String areaId;

    @Column(columnDefinition = "varchar(32)   COMMENT '班级ID' ")
    private String classId;

    @Column(columnDefinition = "varchar(32)   COMMENT '发展核减月ID' ")
    private String developId;

    @Column(columnDefinition = "char(2)   DEFAULT '0' COMMENT '状态：0待发布，1已发布' ")
    private String  states = "0" ;

    @Column(columnDefinition = "int(4)   DEFAULT 0 COMMENT '异常数量' ")
    private Integer  anomalous = 0 ;

    @Column(columnDefinition = "int(4)  DEFAULT 0    COMMENT '总检查项' ")
    private Integer developCount = 0 ;

    @Column(columnDefinition = "int(4)  DEFAULT 0   COMMENT '已检查项' ")
    private Integer developNumber = 0 ;

    @Column(columnDefinition = "text   COMMENT '评论' ")
    private String remarks;

    @Column(columnDefinition = "varchar(32)  COMMENT '创建人'")
    private String createdBy;
}